package cn.hs.ph.dao;

import cn.hs.ph.entity.Community;
import cn.hs.ph.entity.Shop;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface ShopDao {
    // 增加 删除 修改  查询  查询总条数
    public int insert(Shop shop) throws SQLException;
    public int delete(int shopId) throws SQLException;
    public int update(Shop shop) throws SQLException;
    public List<Shop> selectAll(Map<String,String> map) throws SQLException;
    public int selectCount(Map<String,String> map) throws SQLException;
}
